.class public Lcom/xingbook/ecloud/a/c;
.super Landroid/widget/BaseAdapter;

# interfaces
.implements Lcom/xingbook/service/download/m;


# instance fields
.field private a:Lcom/xingbook/ecloud/b/f;

.field private b:Landroid/app/Activity;

.field private c:Lcom/xingbook/ecloud/e/s;

.field private d:Landroid/widget/LinearLayout;

.field private e:Lcom/xingbook/ecloud/e/h;

.field private f:Lcom/xingbook/ecloud/e/k;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/ecloud/e/s;)V
    .locals 6

    const/4 v0, 0x0

    const/4 v5, 0x0

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    iput-object v0, p0, Lcom/xingbook/ecloud/a/c;->b:Landroid/app/Activity;

    iput-object p1, p0, Lcom/xingbook/ecloud/a/c;->b:Landroid/app/Activity;

    iput-object p2, p0, Lcom/xingbook/ecloud/a/c;->c:Lcom/xingbook/ecloud/e/s;

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {p1}, Lcom/xingbook/c/n;->f(Landroid/app/Activity;)F

    move-result v1

    const/high16 v2, 0x4150

    mul-float/2addr v2, v1

    float-to-int v2, v2

    new-instance v3, Landroid/widget/LinearLayout;

    invoke-direct {v3, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/ecloud/a/c;->d:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/xingbook/ecloud/a/c;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v2, v2, v2, v2}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    iget-object v2, p0, Lcom/xingbook/ecloud/a/c;->d:Landroid/widget/LinearLayout;

    const/16 v3, 0x11

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setGravity(I)V

    iget-object v2, p0, Lcom/xingbook/ecloud/a/c;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v5}, Landroid/widget/LinearLayout;->setOrientation(I)V

    new-instance v2, Landroid/widget/AbsListView$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    iget-object v3, p0, Lcom/xingbook/ecloud/a/c;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v2}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    const v0, -0x555556

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setTextColor(I)V

    const/high16 v0, 0x41e0

    mul-float/2addr v0, v1

    invoke-virtual {v2, v5, v0}, Landroid/widget/TextView;->setTextSize(IF)V

    const-string v0, "\u6682\u65f6\u6ca1\u6709\u4e92\u52a8\u4fe1\u606f"

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    return-void
.end method

.method private a()I
    .locals 2

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/f;->j()Lcom/xingbook/group/a/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/group/a/b;->c()Ljava/util/ArrayList;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/f;->j()Lcom/xingbook/group/a/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/group/a/b;->c()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    :cond_0
    return v0
.end method

.method private a(I)Lcom/xingbook/group/a/p;
    .locals 2

    add-int/lit8 v0, p1, -0x4

    invoke-direct {p0}, Lcom/xingbook/ecloud/a/c;->a()I

    move-result v1

    if-ge v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/f;->j()Lcom/xingbook/group/a/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/group/a/b;->c()Ljava/util/ArrayList;

    move-result-object v0

    add-int/lit8 v1, p1, -0x4

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/a/p;

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method


# virtual methods
.method public a(Lcom/xingbook/ecloud/b/f;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {p0}, Lcom/xingbook/ecloud/a/c;->notifyDataSetChanged()V

    return-void
.end method

.method public a(Ljava/lang/String;I)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->e:Lcom/xingbook/ecloud/e/h;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->e:Lcom/xingbook/ecloud/e/h;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/h;->getBookView()Lcom/xingbook/ecloud/e/c;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/xingbook/ecloud/e/c;->a(Ljava/lang/String;I)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/k;->getPrev()Lcom/xingbook/ecloud/e/a;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/xingbook/ecloud/e/a;->a(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/k;->getNext()Lcom/xingbook/ecloud/e/a;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/xingbook/ecloud/e/a;->a(Ljava/lang/String;I)V

    :cond_1
    return-void
.end method

.method public a_()V
    .locals 0

    return-void
.end method

.method public a_(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method public b(Ljava/lang/String;I)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->e:Lcom/xingbook/ecloud/e/h;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->e:Lcom/xingbook/ecloud/e/h;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/h;->getBookView()Lcom/xingbook/ecloud/e/c;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/xingbook/ecloud/e/c;->c(Ljava/lang/String;I)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/k;->getPrev()Lcom/xingbook/ecloud/e/a;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/xingbook/ecloud/e/a;->c(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/k;->getNext()Lcom/xingbook/ecloud/e/a;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/xingbook/ecloud/e/a;->c(Ljava/lang/String;I)V

    :cond_1
    return-void
.end method

.method public b_(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->e:Lcom/xingbook/ecloud/e/h;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->e:Lcom/xingbook/ecloud/e/h;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/h;->getBookView()Lcom/xingbook/ecloud/e/c;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/xingbook/ecloud/e/c;->a(Ljava/lang/String;)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/k;->getPrev()Lcom/xingbook/ecloud/e/a;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/xingbook/ecloud/e/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/k;->getNext()Lcom/xingbook/ecloud/e/a;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/xingbook/ecloud/e/a;->a(Ljava/lang/String;)V

    :cond_1
    return-void
.end method

.method public c(Ljava/lang/String;I)V
    .locals 2

    const/4 v1, 0x6

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->e:Lcom/xingbook/ecloud/e/h;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->e:Lcom/xingbook/ecloud/e/h;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/h;->getBookView()Lcom/xingbook/ecloud/e/c;

    move-result-object v0

    invoke-virtual {v0, p1, v1}, Lcom/xingbook/ecloud/e/c;->a(Ljava/lang/String;I)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/k;->getPrev()Lcom/xingbook/ecloud/e/a;

    move-result-object v0

    invoke-virtual {v0, p1, v1}, Lcom/xingbook/ecloud/e/a;->a(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/e/k;->getNext()Lcom/xingbook/ecloud/e/a;

    move-result-object v0

    invoke-virtual {v0, p1, v1}, Lcom/xingbook/ecloud/e/a;->a(Ljava/lang/String;I)V

    :cond_1
    return-void
.end method

.method public getCount()I
    .locals 3

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    if-eqz v1, :cond_1

    invoke-direct {p0}, Lcom/xingbook/ecloud/a/c;->a()I

    move-result v1

    add-int/lit8 v2, v1, 0x4

    if-nez v1, :cond_0

    const/4 v0, 0x1

    :cond_0
    add-int/2addr v0, v2

    :cond_1
    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    const/4 v0, 0x0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getItemViewType(I)I
    .locals 4

    const/4 v2, 0x3

    const/4 v1, 0x2

    const/4 v0, 0x1

    iget-object v3, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    if-eqz v3, :cond_5

    if-nez p1, :cond_0

    :goto_0
    return v0

    :cond_0
    if-ne p1, v0, :cond_1

    move v0, v1

    goto :goto_0

    :cond_1
    if-ne p1, v1, :cond_2

    move v0, v2

    goto :goto_0

    :cond_2
    if-ne p1, v2, :cond_3

    const/4 v0, 0x4

    goto :goto_0

    :cond_3
    invoke-virtual {p0}, Lcom/xingbook/ecloud/a/c;->getCount()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne p1, v0, :cond_4

    invoke-direct {p0}, Lcom/xingbook/ecloud/a/c;->a()I

    move-result v0

    if-nez v0, :cond_4

    const/4 v0, 0x7

    goto :goto_0

    :cond_4
    const/4 v0, 0x5

    goto :goto_0

    :cond_5
    invoke-super {p0, p1}, Landroid/widget/BaseAdapter;->getItemViewType(I)I

    move-result v0

    goto :goto_0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 9

    const/4 v6, -0x1

    const/4 v5, -0x2

    invoke-virtual {p0, p1}, Lcom/xingbook/ecloud/a/c;->getItemViewType(I)I

    move-result v0

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->b:Landroid/app/Activity;

    invoke-virtual {v1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->b:Landroid/app/Activity;

    invoke-static {v1}, Lcom/xingbook/c/n;->f(Landroid/app/Activity;)F

    move-result v3

    const/4 v1, 0x1

    if-ne v0, v1, :cond_2

    if-eqz p2, :cond_1

    instance-of v0, p2, Lcom/xingbook/ecloud/e/l;

    if-eqz v0, :cond_1

    move-object v0, p2

    check-cast v0, Lcom/xingbook/ecloud/e/l;

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/f;->a()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/f;->i()Lcom/xingbook/ecloud/b/c;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/c;->b()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->i()Lcom/xingbook/ecloud/b/c;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/c;->a()I

    move-result v3

    iget-object v4, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v4}, Lcom/xingbook/ecloud/b/f;->b()Ljava/lang/String;

    move-result-object v4

    iget-object v5, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v5}, Lcom/xingbook/ecloud/b/f;->i()Lcom/xingbook/ecloud/b/c;

    move-result-object v5

    invoke-virtual {v5}, Lcom/xingbook/ecloud/b/c;->c()Ljava/lang/String;

    move-result-object v5

    iget-object v6, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v6}, Lcom/xingbook/ecloud/b/f;->e()Ljava/lang/String;

    move-result-object v6

    iget-object v7, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v7}, Lcom/xingbook/ecloud/b/f;->k()Z

    move-result v7

    invoke-virtual/range {v0 .. v7}, Lcom/xingbook/ecloud/e/l;->a(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V

    :cond_0
    :goto_0
    return-object p2

    :cond_1
    new-instance v8, Lcom/xingbook/ecloud/e/l;

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->c:Lcom/xingbook/ecloud/e/s;

    invoke-direct {v8, v2, v3, v0}, Lcom/xingbook/ecloud/e/l;-><init>(Landroid/content/Context;FLcom/xingbook/ecloud/e/s;)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v0, v6, v5}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v8, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    move-object v0, v8

    check-cast v0, Lcom/xingbook/ecloud/e/l;

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/f;->a()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/f;->i()Lcom/xingbook/ecloud/b/c;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/c;->b()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->i()Lcom/xingbook/ecloud/b/c;

    move-result-object v3

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/c;->a()I

    move-result v3

    iget-object v4, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v4}, Lcom/xingbook/ecloud/b/f;->b()Ljava/lang/String;

    move-result-object v4

    iget-object v5, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v5}, Lcom/xingbook/ecloud/b/f;->i()Lcom/xingbook/ecloud/b/c;

    move-result-object v5

    invoke-virtual {v5}, Lcom/xingbook/ecloud/b/c;->c()Ljava/lang/String;

    move-result-object v5

    iget-object v6, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v6}, Lcom/xingbook/ecloud/b/f;->e()Ljava/lang/String;

    move-result-object v6

    iget-object v7, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v7}, Lcom/xingbook/ecloud/b/f;->k()Z

    move-result v7

    invoke-virtual/range {v0 .. v7}, Lcom/xingbook/ecloud/e/l;->a(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V

    move-object p2, v8

    goto :goto_0

    :cond_2
    const/4 v1, 0x2

    if-ne v0, v1, :cond_4

    if-eqz p2, :cond_3

    instance-of v0, p2, Lcom/xingbook/ecloud/e/h;

    if-eqz v0, :cond_3

    move-object v0, p2

    check-cast v0, Lcom/xingbook/ecloud/e/h;

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/f;->f()Lcom/xingbook/ecloud/b/b;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/f;->k()Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/ecloud/e/h;->a(Lcom/xingbook/ecloud/b/b;Z)V

    move-object v1, p2

    :goto_1
    move-object v0, v1

    check-cast v0, Lcom/xingbook/ecloud/e/h;

    iput-object v0, p0, Lcom/xingbook/ecloud/a/c;->e:Lcom/xingbook/ecloud/e/h;

    move-object p2, v1

    goto :goto_0

    :cond_3
    new-instance v1, Lcom/xingbook/ecloud/e/h;

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->c:Lcom/xingbook/ecloud/e/s;

    invoke-direct {v1, v2, v3, v0}, Lcom/xingbook/ecloud/e/h;-><init>(Landroid/content/Context;FLcom/xingbook/ecloud/e/s;)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v0, v6, v5}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    move-object v0, v1

    check-cast v0, Lcom/xingbook/ecloud/e/h;

    iget-object v2, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/f;->f()Lcom/xingbook/ecloud/b/b;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->k()Z

    move-result v3

    invoke-virtual {v0, v2, v3}, Lcom/xingbook/ecloud/e/h;->a(Lcom/xingbook/ecloud/b/b;Z)V

    goto :goto_1

    :cond_4
    const/4 v1, 0x3

    if-ne v0, v1, :cond_6

    if-eqz p2, :cond_5

    instance-of v0, p2, Lcom/xingbook/ecloud/e/k;

    if-eqz v0, :cond_5

    move-object v0, p2

    check-cast v0, Lcom/xingbook/ecloud/e/k;

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/f;->g()Lcom/xingbook/ecloud/b/b;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/f;->h()Lcom/xingbook/ecloud/b/b;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->k()Z

    move-result v3

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/ecloud/e/k;->a(Lcom/xingbook/ecloud/b/b;Lcom/xingbook/ecloud/b/b;Z)V

    move-object v1, p2

    :goto_2
    move-object v0, v1

    check-cast v0, Lcom/xingbook/ecloud/e/k;

    iput-object v0, p0, Lcom/xingbook/ecloud/a/c;->f:Lcom/xingbook/ecloud/e/k;

    move-object p2, v1

    goto/16 :goto_0

    :cond_5
    new-instance v1, Lcom/xingbook/ecloud/e/k;

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->c:Lcom/xingbook/ecloud/e/s;

    invoke-direct {v1, v2, v0, v3}, Lcom/xingbook/ecloud/e/k;-><init>(Landroid/content/Context;Lcom/xingbook/ecloud/e/s;F)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v0, v6, v5}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    move-object v0, v1

    check-cast v0, Lcom/xingbook/ecloud/e/k;

    iget-object v2, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/f;->g()Lcom/xingbook/ecloud/b/b;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v3}, Lcom/xingbook/ecloud/b/f;->h()Lcom/xingbook/ecloud/b/b;

    move-result-object v3

    iget-object v4, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v4}, Lcom/xingbook/ecloud/b/f;->k()Z

    move-result v4

    invoke-virtual {v0, v2, v3, v4}, Lcom/xingbook/ecloud/e/k;->a(Lcom/xingbook/ecloud/b/b;Lcom/xingbook/ecloud/b/b;Z)V

    goto :goto_2

    :cond_6
    const/4 v1, 0x4

    if-ne v0, v1, :cond_8

    if-eqz p2, :cond_7

    instance-of v0, p2, Lcom/xingbook/ecloud/e/i;

    if-eqz v0, :cond_7

    move-object v0, p2

    check-cast v0, Lcom/xingbook/ecloud/e/i;

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v1}, Lcom/xingbook/ecloud/b/f;->j()Lcom/xingbook/group/a/b;

    move-result-object v1

    iget-object v1, v1, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/xingbook/ecloud/e/i;->setData(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_7
    new-instance v1, Lcom/xingbook/ecloud/e/i;

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->c:Lcom/xingbook/ecloud/e/s;

    invoke-direct {v1, v2, v0, v3}, Lcom/xingbook/ecloud/e/i;-><init>(Landroid/content/Context;Lcom/xingbook/ecloud/e/s;F)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v0, v6, v5}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    move-object v0, v1

    check-cast v0, Lcom/xingbook/ecloud/e/i;

    iget-object v2, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v2}, Lcom/xingbook/ecloud/b/f;->j()Lcom/xingbook/group/a/b;

    move-result-object v2

    iget-object v2, v2, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/xingbook/ecloud/e/i;->setData(Ljava/lang/String;)V

    move-object p2, v1

    goto/16 :goto_0

    :cond_8
    const/4 v1, 0x5

    if-ne v0, v1, :cond_b

    invoke-direct {p0, p1}, Lcom/xingbook/ecloud/a/c;->a(I)Lcom/xingbook/group/a/p;

    move-result-object v4

    if-nez v4, :cond_9

    const/4 p2, 0x0

    goto/16 :goto_0

    :cond_9
    if-eqz p2, :cond_a

    instance-of v0, p2, Lcom/xingbook/ecloud/e/n;

    if-eqz v0, :cond_a

    move-object v0, p2

    check-cast v0, Lcom/xingbook/ecloud/e/n;

    invoke-virtual {v0, v4}, Lcom/xingbook/ecloud/e/n;->setData(Lcom/xingbook/group/a/p;)V

    goto/16 :goto_0

    :cond_a
    new-instance v1, Lcom/xingbook/ecloud/e/n;

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->c:Lcom/xingbook/ecloud/e/s;

    invoke-direct {v1, v2, v0, v3}, Lcom/xingbook/ecloud/e/n;-><init>(Landroid/content/Context;Lcom/xingbook/ecloud/e/s;F)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v0, v6, v5}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    move-object v0, v1

    check-cast v0, Lcom/xingbook/ecloud/e/n;

    invoke-virtual {v0, v4}, Lcom/xingbook/ecloud/e/n;->setData(Lcom/xingbook/group/a/p;)V

    move-object p2, v1

    goto/16 :goto_0

    :cond_b
    const/4 v1, 0x7

    if-ne v0, v1, :cond_0

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    invoke-direct {v0, v6, v5}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/ecloud/a/c;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object p2, p0, Lcom/xingbook/ecloud/a/c;->d:Landroid/widget/LinearLayout;

    goto/16 :goto_0
.end method

.method public notifyDataSetChanged()V
    .locals 4

    const/4 v3, 0x4

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/f;->f()Lcom/xingbook/ecloud/b/b;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/a;->t()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/park/d/e;->b(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-virtual {v0, v3}, Lcom/xingbook/ecloud/b/a;->s(I)V

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/f;->h()Lcom/xingbook/ecloud/b/b;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/a;->t()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/park/d/e;->b(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    invoke-virtual {v0, v3}, Lcom/xingbook/ecloud/b/a;->s(I)V

    :cond_1
    :goto_1
    iget-object v0, p0, Lcom/xingbook/ecloud/a/c;->a:Lcom/xingbook/ecloud/b/f;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/f;->g()Lcom/xingbook/ecloud/b/b;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/b;->g()Lcom/xingbook/ecloud/b/a;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/a;->t()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/park/d/e;->b(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    invoke-virtual {v0, v3}, Lcom/xingbook/ecloud/b/a;->s(I)V

    :cond_2
    :goto_2
    invoke-super {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    return-void

    :cond_3
    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/a;->a()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0, v2}, Lcom/xingbook/ecloud/b/a;->s(I)V

    goto :goto_0

    :cond_4
    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/a;->a()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v0, v2}, Lcom/xingbook/ecloud/b/a;->s(I)V

    goto :goto_1

    :cond_5
    invoke-virtual {v0}, Lcom/xingbook/ecloud/b/a;->a()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-virtual {v0, v2}, Lcom/xingbook/ecloud/b/a;->s(I)V

    goto :goto_2
.end method
